<!-- 
*   @Description:
*   @Author:lxy
*   @Date:2023-03-23 10:23
-->
<template>
  <div class="revenueInFoTitleBox">
    <p class="revenueInFoTitleBox_tltle">{{ title }}</p>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "revenueInFoTitle",
  data() {
    return {};
  },
  props:{
    title:{
      type:String,
      default:''
    }
  },
};
</script>

<style scoped lang="less">
.revenueInFoTitleBox {
  display: flex;
  justify-content: left;
  flex-direction: column;
  p {
    &:first-child {
      margin-bottom: 10px;
      font: bold 18px/22px "PingFang SC" !important;
    }
    &:last-child {
      font: 400 14px/18px "PingFang SC";
    }
  }
}
</style>
